﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<System.Collections.Generic.IEnumerable<GabageFactory.Models.Apply>>" %>
<%@ Import Namespace="System.Collections.Generic" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	数据修改申请列表
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>等待处理的数据修改申请列表</h2>
    
    <table class="style_table2" cellspacing="0" cellpadding="0" width="100%" align="center" border="0" style="margin-top:20px"> 
       <tr>
    	    <th style="width:140px;">申请日期</th>
    	    <th>申请标题</th>
            <th style="width:240px;">所属公司</th>
            <th style="width:180px;">申请人</th>
		    <th style="width:100px;">状态</th>
	    </tr>
        <%if (Model != null)
          { %>
        <% foreach (var item in Model)
           { %>
	    <tr onmouseover="this.className='trbgmouseover'"  onmouseout="this.className='trmouseout' ">
	        <td style="text-align:center;"> <%= item.Date%></td>
		    <td> <%= Html.ActionLink(item.Title, "Detail", new { id = item.Id })%></td>
            <td> <%= item.FactoryName%></td>
            <td> <%= item.Applier%></td>
            <td style="text-align:center;"> <%= item.Status%></td>
        </tr>
        <%} %>
        <%} %>
    </table>
    <%
        using (Html.BeginForm("Index", "Modification", FormMethod.Get))
        {
    %>
    <%=Html.Hidden("PageNo", (int)ViewData["currentPage"])%>
    <%
        }
    %>
    <% Html.RenderPartial("Pagination", ViewData); %>

    <script language="javascript" type="text/javascript">
        jQuery(function ($) {
            refreshMenuPage();
        });
    </script>
</asp:Content>
